#include <QCoreApplication>
#include <iostream>
using namespace std;
int main()
{double num;
    cout<<"vvidite luboe chislo";
    cin>>num;
    if (num < 7)
    {
        cout<<"perviy poryadok"<<endl;
    }
    else
    {
        cout<<"vtoroi poryadok"<<endl;
    }

    return 0;
}
